package com.design.visitor.football;

/**
 * @author xiemiao
 * @description
 * @date 2023/08/18
 */
public class Main {
    public static void main(String[] args) {
        Forward forward = new Forward();

        Visitor1 visitor1 = new Visitor1();
        forward.accept(visitor1);

        Midfielder midfielder = new Midfielder();
        midfielder.accept(visitor1);

    }
}
